Adam K Dean

Posts tagged with snippet

Update all values in a MongoDB collection to a random range

Published 22 January 2020 in archive with tags mongodb , snippet The following query allows you to easily update all values in a collection of documents to a random number range, in this case, between 50 and 100. Continue reading …

Pass Request buffer through Redis

Published 20 January 2020 in archive with tags javascript , redis , express , snippet Originally posted on November 13th, 2017 (more info) Continue reading …

Pipe Stream to Express

Published 20 January 2020 in archive with tags javascript , streams , express , snippet Originally posted on November 13th, 2017 (more info) Continue reading …

SCP between two hosts with non-standard ports

Published 17 January 2020 in archive with tags scp , bash , bsd , snippet Originally posted on January 10th, 2020 (more info) Continue reading …

List all files changed in last commit

Published 8 February 2016 in archive with tags git , snippet List all files changed in the last commit by using git diff-tree on HEAD. Continue reading …



Newer Page 1 of 2 Older